
<div class="toolbar">
	<h1>订单详情</h1>
</div>
<div class="jsTouch">
<div class="content">
	<ul class=rounded>
		<li>订单编号:<span class="right">{$T.id}</span></li>
		<li>总价:<span class="right">{$T.totalPrice}</span></li>
		<li>桌名:<span class="right">{#if $T.tableName!=null} {$T.tableName} {#/if}</span></li>
		<li>发送时间:<span class="right">{new Date($T.sendTime).format("yyyy-MM-dd hh:mm:ss")}</span></li>
		<li>打印时间:<span class="right">{new Date($T.printTime).format("yyyy-MM-dd hh:mm:ss")}</span></li>
		<li>打印状态:<span class="right">{$T.status==1 ?'成功':'失败'}</span></li>
	</ul>
	<h2>列表</h2>
	<ul class="rounded">
		{#foreach $T.menuList as Item}
		<li><a>{$T.Item.name}
		<span class="right">
			<span class="number">{$T.Item.unitPrice}</span> *
			<span class="number">{$T.Item.count}</span>=
			<span class="number">{$T.Item.count*$T.Item.unitPrice}</span>
		</span>
		</a></li>
		{#/for}
	</ul>
	<br/>
	<br/>
</div>
</div>
<div class="footer" >
	<a href="javascript:billHistory.print();" class="button-green" style="width: 100px">打印</a>
	<a href="javascript:jsTouch.overlayClose();" class="button-gray" style="width: 100px">关闭</a>
</div>
